package com.cloud.mapper;

import com.cloud.entity.mes.MesPcbBoxCodeBind;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MesPcbBoxCodeBindMapper {
    Integer insertMesPcbBoxCodeBind(@Param("mesPcbBoxCodeBind") MesPcbBoxCodeBind mesPcbBoxCodeBind);

    Integer updateMesPcbBoxCodeBind(@Param("mesPcbBoxCodeBind") MesPcbBoxCodeBind mesPcbBoxCodeBind);

    Integer deleteMesPcbBoxCodeBind(@Param("mesPcbBoxCodeBind") MesPcbBoxCodeBind mesPcbBoxCodeBind);

    MesPcbBoxCodeBind selectMesPcbBoxCodeBind(@Param("mesPcbBoxCodeBind") MesPcbBoxCodeBind mesPcbBoxCodeBind);

    List<MesPcbBoxCodeBind> getAccessoryBoxCodeBySncode(@Param("snCodeList") List<String> snCodeList);

    String getProduceTime(@Param("snCode") String snCode);
}
